package wpwork.service;

import org.apache.ibatis.annotations.Param;
import wpwork.base.service.SuperService;
import wpwork.base.vo.PageListVO;
import wpwork.entity.WorkPersonJobEntity;
import wpwork.entity.WorkRsinspectionEntity;
import wpwork.model.TaskInfoVO;
import wpwork.model.WorkPersonJobDTO;
import wpwork.model.WorkPersonJobQueryVO;
import wpwork.model.WorkPersonJobVO;

import java.util.List;

/**
 *
 * @author wpwork开发平台组
 * @version V3.1.0
 * @copyright 武汉维普科技有限公司
 * @date 2021/3/16 9:47
 */
public interface WorkPersonJobService extends SuperService<WorkPersonJobEntity> {
    void generatePersonJobFromAttendance();

    List<WorkPersonJobVO> attendanceStatistics(String startTime, String endTime);
    List<WorkPersonJobVO> homeStatistics(String type,String startTime, String endTime,String name);
    List<WorkPersonJobVO> homeStatisticsByExecutionDate(String type,String startTime, String endTime,String name);

    List<TaskInfoVO> getInfoByTaskNum(String taskNum);

    List<WorkPersonJobEntity> getInfoListByTaskNum(String taskNum);

    PageListVO<WorkPersonJobDTO> getWorkPersonJobPage(WorkPersonJobQueryVO queryVO);


}
